package com.lighting.smssystem.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

@Data
@ApiModel
public class CompanyFilterNew {

    @Min(10)
    @ApiModelProperty(name = "pageSize", notes = "页面条数")
    private Integer pageSize = 10;

    @Min(1)
    @ApiModelProperty(name = "pageNum", notes = "页码")
    private Integer pageNum = 1;

    @ApiModelProperty(name = "key", notes = "随意关键字")
    private String key;

    @ApiModelProperty(name = "cityKey", notes = "城市关键字")
    private String cityKey;

    @ApiModelProperty(name = "legalKey", notes = "法人关键字")
    private String legalKey;

    @ApiModelProperty(name = "provinceKey", notes = "省份关键字")
    private String provinceKey;

    @ApiModelProperty(name = "rangeKey", notes = "经营范围关键字")
    private String rangeKey;

    @ApiModelProperty(name = "userId", notes = "用户Id")
    private Long userId;

    @Override
    public String toString() {
        return "CompanyFilterNew{" +
                "pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                ", key='" + key + '\'' +
                ", cityKey='" + cityKey + '\'' +
                ", legalKey='" + legalKey + '\'' +
                ", provinceKey='" + provinceKey + '\'' +
                ", rangeKey='" + rangeKey + '\'' +
                '}';
    }
}

